package com.sjh.commons.base.exception;

import com.sjh.commons.base.result.Codes;
import lombok.Getter;

/**
 * 功能描述
 *
 * @author songjiahao
 * @date 2023/03/11  10:11
 */
@Getter
public class ServiceException extends RuntimeException{
    private Codes codes;

    public ServiceException(Codes codes) {
        this.codes = codes;
    }
}
